<!DOCTYPE HTML><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <title><?=ROOT_WEBSITE_MANAGEMENT?> - <? echo SITE_COMPANY_SC ?></title>
	<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="css/blue.css" type="text/css" media="screen" />
    <script type="text/javascript" src="api_js_lang.php"></script>
	<script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/jquery.cookie.js"></script>
    <link rel="stylesheet" href="../editor/themes/default/default.css" />
    <script charset="utf-8" src="../editor/kindeditor-min.js"></script>
	<script type="text/javascript" src="js/config.js"></script>
	<!--[if IE]><script type="text/javascript" src="js/jquery.bgiframe.js"></script><![endif]-->
	<!--[if IE 6]><script type="text/javascript" src="js/png.js"></script>	<![endif]-->
</head>
<body>
<div id="body-wrapper">
    <div id="sidebar"><div id="sidebar-wrapper">
        <center><a href="../" target="_blank"><img id="logo" src="../upload/<?=LOGO?>" width="180" /></a></center>
        <div id="profile-links">
            <? echo date("Y-m-d");?> &nbsp; <?=ROOT_GREETING?>, <a href="user.php" target="r"><? echo $username;?></a><br>
            <a href="<?=$start_page?>" target="r"><?=ROOT_INDEX_PAGE?></a> | <a href="../" target="_blank"><?=ROOT_GOTO_WEBSITE?></a> | <a href="login.php?id=3" title="Sign Out"><?=ROOT_LOGOUT?></a>
        </div>
        <ul id="main-nav">
            <li>
                <a href="#" target="r" class="nav-top-item"><?=ROOT_WEBSITE_CONFIGURATION?></a>
                <ul>
                    <li><a href="configuration.php" target="r"><?=ROOT_VIEW_CONFIGURATION?></a></li>
                    <li><a href="logo.php" target="r">Logo</a></li>
					<?if(is_module_enabled($option_module['ad'])) {?>
                    <li><a href="ad.php" target="r"><?=ROOT_AD_MANAGEMENT?></a></li>
                    <?if(is_super_user($userid)) {?>
                    <li><a href="ad_category.php" target="r"><?=ROOT_AD_CATEGORY?></a></li>
					<?}}?>
                    <li><a href="banner.php" target="r"><?=ROOT_BANNER_MANAGEMENT?></a></li>
                    <?if(is_module_enabled($option_module['link'])) {?>
                    <li><a href="link.php" target="r"><?=ROOT_LINK_MANAGEMENT?></a></li>
                    <?}?>
                    <?if(is_super_user($userid)) {?>
                    <li><a href="menu.php" target="r"><?=ROOT_MENU?></a></li>
                    <li><a href="document_category.php" target="r"><?=ROOT_CONTENT_CATEGORY?></a></li>
					<li><a href="payment_method.php" target="r"><?=ROOT_PAYMENT_METHOD?></a></li>
                    <li><a href="currency.php" target="r"><?=ROOT_CURRENCY_MANAGEMENT?></a></li>
					<li><a href="language.php" target="r"><?=ROOT_LANGUAGE_MANAGEMENT?></a></li>
					<li><a href="module.php" target="r"><?=ROOT_MODULE_MANAGEMENT?></a></li>
                    <li><a href="optional_field.php" target="r"><?=ROOT_OPTIONAL_FIELD?></a></li>
					<?}?>
                </ul>
            </li>
            <li><a href="#" target="r" class="nav-top-item"><?=ROOT_DOCUMENT_MANAGEMENT?></a>
                <ul>
					<?if(is_module_enabled($option_module['aboutus'])) {?>
                    <li><a href="aboutus.php" target="r"><?=ROOT_INDEX_PAGE_COMPANY_PROFILE?></a></li>
					<?}?>
					<?if(is_module_enabled($option_module['about'])) {?>
					<li><a href="about.php" target="r"><?=ROOT_COMPANY_PROFILE?></a></li>
                    <?}?>
					<?if(is_module_enabled($option_module['contactus'])) {?>
					<li><a href="contactus.php" target="r"><?=ROOT_CONTACT_US?></a></li>
					<?}?>
                    <li><a href="article.php" target="r"><?=ROOT_DOCUMENT_LIST?></a></li>
					<?if(is_module_enabled($option_module['article_category'])) {?>
                    <li><a href="article_category.php" target="r"><?=ROOT_DOCUMENT_CATEGORY?></a></li>
					<?}?>
                    <?if(is_module_enabled($option_module['faq'])) {?>
                    <li><a href="faq.php" target="r"><?=ROOT_FAQ?></a></li>
                    <li><a href="faq_category.php" target="r"><?=ROOT_FAQ_CATEGORY?></a></li>
                    <?}?>
                    <?if(is_module_enabled($option_module['vice_menu'])) {?>
                    <li><a href="vice_menu.php" target="r"><?=ROOT_VICEMENU_LIST?></a></li>
                    <li><a href="vice_menu_category.php" target="r"><?=ROOT_VICEMENU_CATEGORY?></a></li>
                    <?}?>
                    <?if(is_module_enabled($option_module['email'])) {?>
                    <li><a href="email_template.php" target="r"><?=ROOT_EMAIL_TEMPLATE?></a></li>
                    <?}?>
                </ul>
            </li>
            <?if(is_module_enabled($option_module['news'])) {?>
            <li><a href="#" target="r" class="nav-top-item"><?=ROOT_NEWS_MANAGEMENT?></a>
                <ul>
                    <li><a href="news.php" target="r"><?=ROOT_NEWS_LIST?></a></li>
					<?if(is_module_enabled($option_module['news_category'])) {?>
                    <li><a href="news_category.php"><?=ROOT_NEWS_CATEGORY?></a></li>
					<?}?>
                </ul>
            </li>
            <? }?>
            <li class=""><a href="#" target="r" class="nav-top-item"><?=ROOT_PRODUCT_MANAGEMENT?></a>
                <ul>
                    <li><a href="product.php" target="r"><?=ROOT_PRODUCT_LIST?></a></li>
                    <li><a href="product_category.php" target="r"><?=ROOT_PRODUCT_CATEGORY?></a></li>
                    <?if(is_super_user($userid)) {?>
                    <li><a href="product_option.php" target="r"><?=ROOT_PRODUCT_OPTION?></a></li>
                    <?}?>
					<?if(is_module_enabled($option_module['product_review'])) {?>
					<li><a href="pending_approval_product_review.php" target="r"><?=ROOT_PENDING_APPROVAL_PRODUCT_REVIEW?></a></li>
					<?}?>
					<li><a href="product.php?filter=out_of_stock" target="r"><?=ROOT_PRODUCT_OUT_OF_STOCK?></a></li>
					<li><a href="hot_keyword.php" target="r"><?=ROOT_HOT_KEYWORD?></a></li>
                </ul>
            </li>
            <? if(is_module_enabled($option_module['tags'])) {?>
                <li class=""><a href="#" target="r" class="nav-top-item"><?=ROOT_TAGS?></a>
                    <ul>
                        <li><a href="tags_list.php" target="r"><?=ROOT_TAGS_LIST?></a></li>
                        <li><a href="tags_manage.php" target="r"><?=ROOT_TAGS?></a></li>
<!--                        <li><a href="tags.php?type=1" target="r">--><?//=ROOT_TAGS_PRODUCT_LIST?><!--</a></li>-->
<!--                        <li><a href="tags.php?type=2" target="r">--><?//=ROOT_TAGS_DOCUMENT_LIST?><!--</a></li>-->
                    </ul>
                </li>
            <?}?>
            <? if(is_module_enabled($option_module['sales_promotion'])) {?>
                <li class=""><a href="#" target="r" class="nav-top-item"><?=ROOT_SALES_PROMOTION?></a>
                    <ul>
                        <li><a href="sales_promotion.php" target="r"><?=ROOT_SALES_PROMOTION_LIST?></a></li>
                        <? if(is_module_enabled($option_module['full_cut'])) {?>
                        <li><a href="promotion_fullcut.php" target="r"><?=ROOT_SALES_PROMOTION_FULLCUT?></a></li>
                        <? } ?>
                        <? if(is_module_enabled($option_module['coupon'])) {?>
                        <li><a href="coupon.php" target="r"><?=COUPON?></a></li>
                        <? } ?>
                    </ul>
                </li>
            <? } ?>
            <?  if(is_module_enabled($option_module['sales_order'])) {?>
            <li class=""><a href="#" target="r" class="nav-top-item"><?=ROOT_ORDER_MANAGEMENT?></a>
                <ul>
                    <li><a href="sales_order.php" target="r"><?=ROOT_ORDER_LIST?></a></li>
                    <?if(is_module_enabled($option_module['refund_reason'])){?>
                        <li><a href="refund_reason.php" target="r"><?=ROOT_ORDER_CANCEL_REASON?></a></li>
                    <?}?>
                    <?if(is_module_enabled($option_module['refund'])){?>
                        <li><a href="refund.php" target="r"><?=ROOT_ORDER_CANCEL_RECODE?></a></li>
                    <?}?>
                    <?if(is_module_enabled($option_module['order_service'])){?>
                        <li><a href="order_service.php" target="r"><?=ROOT_ORDER_SERVICE?></a></li>
                    <?}?>
                </ul>
            </li>
            <? } ?>
            <?  if(is_module_enabled($option_module['shipment_method'])) {?>
            <li class=""><a href="#" target="r" class="nav-top-item"><?=ROOT_SHIPPING_MANAGEMENT?></a>
                <ul>
					<?if(OVERSEA) {?>
                    <li><a href="country.php" target="r"><?=ROOT_COUNTRY_LIST?></a></li>
                    <li><a href="province.php" target="r"><?=ROOT_PROVINCE_LIST?></a></li>
                    <? } else {  ?>
                    <li><a href="province.php" target="r"><?=ROOT_PROVINCE_LIST?></a></li>
                    <li><a href="city.php" target="r"><?=ROOT_CITY_LIST?></a></li>
                    <li><a href="county.php" target="r"><?=ROOT_COUNTY_LIST?></a></li>
					<?}?>
                    <li><a href="shipment_method.php" target="r"><?=ROOT_SHIPPING_LIST?></a></li>
                    <li><a href="shipment_company.php" target="r"><?=ROOT_SHIPMENT_COMPANY?></a></li>
                </ul>
            </li>
            <?}?>
            <?if(is_module_enabled($option_module['user'])) {?>
            <li><a href="#" target="r" class="nav-top-item"><?=ROOT_CUSTOMER_MANAGEMENT?></a>
                <ul>
                    <li><a href="customer.php" target="r"><?=ROOT_CUSTOMER_LIST?></a></li>
                    <li><a href="customer_rule.php" target="r"><?=ROOT_CUSTOMER_RULE?></a></li>
                    <?if(is_module_enabled($option_module['feedback'])) {?>
                    <li><a href="feedback.php" target="r"><?=ROOT_CUSTOMER_FEEDBACK?></a></li>
                    <?}?>
                </ul>
            </li>
            <?}?>
            <?if(is_module_enabled($option_module['report'])) {?>
			<li><a href="#" target="r" class="nav-top-item current"><?=ROOT_REPORT?></a>
                <ul>
					<?if(is_module_enabled($option_module['dashboard'])) {?>
				    <li><a class="current" href="dashboard.php" target="r"><?=ROOT_DASHBOARD?></a></li>
					<?}?>
					<?if(is_module_enabled($option_module['report_sales'])) {?>
                    <li><a href="report_sales.php" target="r"><?=ROOT_ORDER_REPORT?></a></li>
					<?}?>
					<?if(is_module_enabled($option_module['report_stock'])) {?>
					<li><a href="report_stock.php" target="r"><?=ROOT_INVENTORY_REPORT?></a></li>
					<?}?>
                </ul>
            </li>
            <? } ?>
            <?
            // 自定义栏目
            $str='';
            foreach($arr_cate_doc as $val){
                $str.='<li><a class="nav-top-item">'.$val['name_'.$lang].'</a><ul>';
                $str.='<li><a href="document.php?cid='.$val['id'].'" target="r">'.ROOT_DOCUMENT_LIST.'</a></li>';
                $str.='<li><a href="doc_category.php?cid='.$val['id'].'" target="r">'.ROOT_DOCUMENT_CATEGORY.'</a></li>';
                $str.='</ul></li>';
            }
            echo $str;
            ?>
        </ul>
    </div></div> <!-- End #sidebar -->
    <div id="main-content">
        <!-- Page Head -->
        <iframe width="99%" id="ifm" frameborder="0" allowtransparency="true" name="r" src="<?=$start_page?>" ></iframe>
        <div id="footer"><? echo date('Y') ?> &#169; <?=ROOT_COPYRIGHT?> <? echo $config['SITE_COMPANY_'.LANG]; ?> | <?=ROOT_POWERED_BY?> <a href="http://www.ecomgear.cn" target="_blank">eComGear</a> &nbsp; <a href="http://www.webceo.cn" target="_blank">WebCEO</a> </div>
    </div>
</div>
</body>
</html>